Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "config fabric port ..." commands and tests. #2730

Merged
merged 2 commits into from
May 15, 2023

Conversation

jfeng-arista
Copy link
Contributor

Added "config fabric port ..." commands and the tests.

This change added following config commands and the test for them.

config fabric port isolate #portId#
config fabric port unisolate #portId#

The above two commands can be used to manually isolate and unisolate a fabric link.

config fabric port monitor error threshold #crcCells# #rxCells#
It sets a fabric link monitoring error threshold

config fabric port monitor poll threshold isolation #pollnumber#
It sets the number of consecutive polls in which the threshold needs to be detected to isolate a link

config fabric port monitor poll threshold recovery #pollnumber#
It sets the number of consecutive polls in which no error is detected to unisolate a link

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@kenneth-arista
Copy link
Contributor

@rlhui @arlakshm for viz

@rlhui
Copy link
Contributor

rlhui commented Mar 15, 2023

@sanmalho-git fyi

Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes look good. Since this is config command can we add these commands to this document https://github.com/sonic-net/sonic-utilities/blob/master/doc/Command-Reference.md

@jfeng-arista
Copy link
Contributor Author

changes look good. Since this is config command can we add these commands to this document https://github.com/sonic-net/sonic-utilities/blob/master/doc/Command-Reference.md

done. Thank you

@kenneth-arista
Copy link
Contributor

Looks good to me as well.

@arlakshm arlakshm merged commit 9e510a8 into sonic-net:master May 15, 2023
@gechiang gechiang added the included in chassis for 202205 branch indicate that this PR got merged into the "chassis for 202205 branch" label Jun 22, 2023
pdhruv-marvell pushed a commit to pdhruv-marvell/sonic-utilities that referenced this pull request Aug 23, 2023
…-net#2730)

Added "config fabric port ..." commands and the tests.

This change added following config commands and the test for them.

config fabric port isolate #portId#
config fabric port unisolate #portId#
The above two commands can be used to manually isolate and unisolate a fabric link.

config fabric port monitor error threshold #crcCells# #rxCells#
It sets a fabric link monitoring error threshold

config fabric port monitor poll threshold isolation #pollnumber#
It sets the number of consecutive polls in which the threshold needs to be detected to isolate a link

config fabric port monitor poll threshold recovery #pollnumber#
It sets the number of consecutive polls in which no error is detected to unisolate a link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chassis for 202205 Branch included in chassis for 202205 branch indicate that this PR got merged into the "chassis for 202205 branch"
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants